CMAKE_MINIMUM_REQUIRED(VERSION 3.17)

PROJECT("TEST")

IF (NOT TARGET ETL::H)
    ADD_LIBRARY(ETL::H INTERFACE IMPORTED)
    TARGET_INCLUDE_DIRECTORIES(ETL::H INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/windows/include")
ENDIF ()

IF (NOT TARGET LIBRARIES::ETL)
    ADD_LIBRARY(LIBRARIES::ETL INTERFACE IMPORTED GLOBAL)
    TARGET_LINK_LIBRARIES(LIBRARIES::ETL INTERFACE
            ETL::H)
ENDIF ()